package ui.activity.profit.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.profit.biz.AchievementFragmentBiz;
import ui.activity.profit.contract.AchievementFragmentContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class AchievementFragmentModule {
    private AchievementFragmentContract.View view;

    public AchievementFragmentModule(AchievementFragmentContract.View view) {
        this.view = view;
    }

    @Provides
    public AchievementFragmentContract.View provideView() {
        return view;
    }

    @Provides
    public AchievementFragmentBiz provideBiz() {
        return new AchievementFragmentBiz();
    }
}